﻿@{
    ViewBag.Title = "新账号配置页面";
    Layout = "~/Views/Shared/IniterBaseView.cshtml";
}
<script type="text/javascript">
    function Delete(id) {
        if (confirm("确定要删除小组吗？")) {
            location.href = "/GroupShow/Delete/" + id;
        }
    }

    function Edit(id) {
        location.href = "/GroupShow/Edit/" + id;
    }
</script>
<div style="height: 40px; width: 100%; line-height: 40px;">
    <p>
        &nbsp;
    </p>
</div>
<div style="font-size: 22pt; text-align: center;">
    角色管理<span style="font-size: 9pt;"> 确认</span></div>
<form method="post" action="" id="form1">
<div style="height: 20px; width: 80%; line-height: 20px; text-align: right; float: none;">
</div>
<div style="width: 100%; text-align: center; padding-left: 10%;">
    <table style="width: 80%;" class="list">
        <tr>
            <td class="title">
                角色名称
            </td>
            <td class="title">
                权限管理
            </td>
        </tr>
        @foreach (Common.Module.Permissions.Model.T_GroupManager g in ViewBag.groupmaster)
        {
            <tr>
                <td>
                    @g.GroupName
                </td>
                <td>
                    <a href="/Init/MasterEdit/@g.Id">权限管理</a>
                </td>
            </tr>
        }
    </table>
</div>
</form>
<div style="height: 20px; width: 100%; line-height: 20px;">
    <p>
        &nbsp;
    </p>
</div>
<div style="height: 20px; width: 80%; line-height: 20px; text-align: right; float: none;">
    <div style="padding-top: 30px;">
        @Html.ActionLink("添加一个新的角色", "MasterCreate", "Init", null, null)</div>
</div>
<div style="height: 20px; width: 100%; line-height: 20px;">
    <p>
        &nbsp;
    </p>
</div>
<div style="font-size: 16pt; text-align: center;" class="list">
    <span>@Html.ActionLink("返回", "More", "Init", null, null)</span></div>
<div style="height: 40px; width: 100%; line-height: 40px;">
    <p>
        &nbsp;
    </p>
</div>
